/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.documentar.controller;

/**
 *
 * @author Robertto
 */
public class LoginController {
    
    private br.com.documentar.DAO.LoginDAO dao = new br.com.documentar.DAO.LoginDAO();

    /**
     * Metodo responsável por retornar a classe ModelLogin
     * @return return class LoginModel
     */
    public br.com.documentar.model.LoginModel returnModelLogin() {
        return new br.com.documentar.model.LoginModel();
    }
    
    public boolean AutenticarUsuario(br.com.documentar.model.LoginModel model){
        return dao.AutenticarUsuario(model);
    }
}
